<h1>Add an object type</h1>

<%= error_messages_for :object_type %>

<% form_for(:object_type, :url => museum_object_types_path(@museum)) do |f| %>
  
	<p><label for="object_type_name">Name</label> <%= f.text_field :name %></p>

	<p>
    <%= f.submit "Create" %>
  </p>
<% end %>

<%= link_to 'Back', museum_object_types_path(@museum) %>
